package me


class ChartTemplate {
	
    String templateName
    String templateDesc
    String templateSource
    String templateSrc
    Boolean isDir
	Date dateCreated
    Date lastUpdated
    Integer parentTemplateId
    Integer themeId
    static mapping = {
        templateSource type: 'text'
        templateSrc type: 'text'
        templateDesc type: 'text' 
    }

    static constraints = {
        templateDesc nullable: true
        templateSrc nullable: true
        templateName nullable: true
    	templateSource nullable: true
    	isDir nullable: true
    	parentTemplateId nullable: true
        themeId nullable: true 
    }
   
}
